/**
 * @author Guy Sagy
 */

package model;

import java.sql.SQLException;
import java.util.ArrayList;

public class RegisteredProfiles
{
   private int currentUserId = -1;
   public ArrayList<Profile> list;

   public RegisteredProfiles()
   {
       
   }

   public ArrayList<Profile> getList() throws SQLException
   {
       return webSiteDataStore.OthersData.getProfiles(currentUserId);
   }

   public void setCurrentUserId(int currentUserId)
   {
       this.currentUserId = currentUserId;
   }

   public int getCurrentUserId()
   {
       return this.currentUserId;
   }
}
